package com.lysj.bhp.exchangerate.base;

import com.lysj.bhp.api.service.BcexService;
import com.lysj.bhp.api.service.BcexproxyService;
import com.lysj.bhp.api.service.DigifinexService;
import com.lysj.bhp.exchangerate.domain.ExchangeRate;
import com.lysj.bhp.exchangerate.service.ExchangeRateService;
import com.lysj.bhp.system.base.RootContent;
import com.lysj.bhp.wallet.repository.BhpcWalletRepository;
import com.lysj.bhp.wallet.repository.BitcoinWalletRepository;
import com.lysj.bhp.wallet.repository.EthereumWalletRepository;

import javax.annotation.Resource;

public class ExchangeRateContent extends RootContent {

    public static int RATE_STATUS = 1; //1：bcex 2：digifinex 3:bcexproxy
    public static int ETHEREUM_TO_DOLLAR_ISRATE = 1;
    public static int BITCOIN_TO_DOLLAR_ISRATE = 1;
    public static int BHPC_TO_ETH_ISRATE = 1;
    public static int DOLLAR_TO_CNY_ISRATE = 1;

    public static int BHPC_TO_DOLLAR_ISRATE = 1;
    public static int BHPC_TO_CNY_ISRATE = 1;
    public static int CNY_TO_DOLLAR_ISRATE = 1;
    public static int BITCOIN_TO_CNY_ISRATE = 1;
    public static int ETH_TO_CNY_ISRATE = 1;

    @Resource
    protected BitcoinWalletRepository bitcoinWalletRepository;
    @Resource
    protected EthereumWalletRepository ethereumWalletRepository;
    @Resource
    protected BhpcWalletRepository bhpcWalletRepository;

    @Resource
    protected BcexService bcexService;
    @Resource
    protected BcexproxyService bcexproxyService;
    @Resource
    protected DigifinexService digifinexService;

    protected ExchangeRate exchangeRate = ExchangeRate.getInstance();
}
